<!-- 编制车辆申请更新配置-->
<div class="layui-col-md12">
    <div class="layui-col-xs6 layui-col-md12">
        <form class="layui-form form-auto" method="post">
            <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
                <legend style="margin-left: 70px">编制信息</legend>
            </fieldset>
            <div class="layui-form-item layui-col-md12">
                <label class="layui-form-label">公司/单位</label>
                <div class="layui-input-inline">
                    <input type="hidden" name="company_id" value="{$Think.get.company_id}" placeholder="公司/单位" autocomplete="off" class="layui-input company_id">
                    <input type="text" name="company_name" value="{$Think.get.company_name}" placeholder="公司/单位" autocomplete="off" class="layui-input company_name"
                        readonly>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">编制车型</label>
                    <div class="layui-input-inline">
                        <input type="text" name="strength_type_name" class="layui-input strength_type_name"  readonly/>                        
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">批复文件</label>
                    <div class="layui-upload">
                        <div class="layui-upload-list" style="width: 350px;">
                            <img class="layui-upload-img" id="img1" width="100%" height="100%" style="width: 100px;height: 100px;">
                            <p id="demoText"></p>
                            <!-- <button type="button" class="layui-btn layui-btn-normal" style="margin-left: 150px;width: 100px;" id="test1">上传照片</button> -->
                        </div>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">三公经费</label>
                    <div class="layui-upload">
                        <div class="layui-upload-list" style="width: 350px;">
                            <img class="layui-upload-img" id="img2" width="100%" height="100%" style="width: 100px;height: 100px;">
                            <p id="demoText"></p>
                            <!-- <button type="button" class="layui-btn layui-btn-normal" style="margin-left: 150px;width: 100px;" id="test2">上传照片</button> -->
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">年初预算</label>
                    <div class="layui-input-inline">
                        <input type="number" name="budget_early" lay-verify="" autocomplete="off" class="layui-input" readonly>

                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">年中追加(预算)</label>
                    <div class="layui-input-inline">
                        <input type="text" name="budget_add" lay-verify="" autocomplete="off" class="layui-input" readonly>
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">资金来源</label>
                    <div class="layui-input-inline">
                        <input type="text" name="budget_source" lay-verify="" autocomplete="off" class="layui-input" readonly>
                    </div>
                </div>

            </div>

            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">车辆类型</label>
                    <div class="layui-input-inline">
                            <input type="text" name="car_type_name" class="layui-input car_type_name"  readonly/>                        
                    </div>
                </div>

                <div class="layui-inline">
                    <label class="layui-form-label">排量</label>
                    <div class="layui-input-inline">
                        <input type="text" lay-verify="" autocomplete="off" class="layui-input displacement" readonly>
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">是否新能源</label>
                    <div class="layui-input-inline">
                        <input type="checkbox" class="switch new_energy" lay-skin="switch" lay-text="是|否" readonly>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">价格</label>
                    <div class="layui-input-inline">
                        <input type="number" lay-verify="" autocomplete="off" class="layui-input price" readonly>
                    </div>
                </div>
            </div>
            <div class="layui-form-item set">
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">装载固定设备</label>
                        <div class="layui-input-inline" style="width: 100px;">
                            <input type="text" placeholder="设备名称" autocomplete="off" class="layui-input setname" readonly>
                        </div>
                        <div class="layui-form-mid">-</div>
                        <div class="layui-input-inline" style="width: 100px;">
                            <input type="text" placeholder="用途" autocomplete="off" class="layui-input setuse" readonly>
                        </div>
                    </div>
                </div>
            </div>
            <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
                <legend style="margin-left: 70px">已绑定车辆</legend>
            </fieldset>
            <div class="layui-form-item layui-col-md12">
                <div class="layui-inline ">
                    <label class="layui-form-label">车牌号</label>
                    <div class="layui-input-inline">
                        <input type="hidden" class="car_id" name="car_id" value="" lay-verify="" />
                        <input type="text" class="layui-input number" name='number' value="" placeholder="点击选择车辆" readonly="" />
                    </div>
                </div>
                {if $Think.get.state ==7}
                <div class="layui-inline">
                    <label class="layui-form-label">旧车处理文件</label>
                    <div class="layui-upload">
                        <div class="layui-upload-list" style="width: 350px;">
                            <img class="layui-upload-img" id="img3" width="100%" height="100%" style="width: 100px;height: 100px;">
                            <p id="demoText"></p>
                            <button type="button" class="layui-btn layui-btn-normal" style="margin-left: 150px;width: 100px;" id="test3">上传照片</button>
                        </div>
                    </div>
                </div>
                {/if}
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    {if $Think.get.state ==5}
                    <button type="button" lay-filter="save" lay-submit="" class="layui-btn layui-btn-normal approve">申请更新配置</button>
                    {/if}
                    {if $Think.get.state ==6}
                    <button type="button" lay-filter="save" lay-submit="" class="layui-btn layui-btn-normal updata">更新配置</button>
                    {/if}
                    <button type="button" class="layui-btn layui-btn-danger backs">返回上一页</button>
                </div>
            </div>
        </form>
    </div>
</div>